package com.zyh.scs.admin.api.entity;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * @author hwh
 * @ClassName: 封存数据实体类$
 * @Description: $
 * @Date $
 * @Version 1.0
 */
@Data
@Schema(description = "封存数据实体类")
@TableName("scsx_seal")
@Accessors(chain = true)
public class UserSeal implements Serializable {

    /**
     * 主键ID
     */
    @TableId(value = "id", type = IdType.AUTO)
    @Schema(description = "主键id")
    private Long id;

    @Schema(description = "文件名称")
    @TableField("work_name")
    private String workName;

    @Schema(description = "金额数据")
    @TableField("amount_data")
    private BigDecimal amountData;

    @Schema(description = "上传时间")
    @TableField("upload_time")
    private LocalDateTime uploadTime;

    @Schema(description = "文件地址")
    @TableField("work_path")
    private String workPath;

    /**
     * 创建时间
     */
    @TableField(fill = FieldFill.INSERT)
    @Schema(description = "创建时间")
    private LocalDateTime createTime;
}
